﻿using System;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
using DapperExtensions.Mapper;
namespace LS.Entitys
{
    /// <summary>
    /// 组织机构用户表
    /// </summary>
    [Table("sys_organizeuser")]
    public class SysOrganizeUserEntity
    {
        /// <summary>
        /// Orgcode
        /// </summary>
        public long OrgId { get; set; }
        /// <summary>
        /// UserId
        /// </summary>
        public long UserId { get; set; }
    }
    public class SysOrganizeUserEntityMapper : ClassMapper<SysOrganizeUserEntity>
    {
        public SysOrganizeUserEntityMapper()
        {
            Table("sys_organizeuser");
            AutoMap();
        }
    }
}
